package com.jy.datapipeline.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @类名 ThreadPoolProperties
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/4/25 16:31
 * @版本 1.0
 */
@Data
@ConfigurationProperties(prefix = "thread-pool")
@PropertySource("classpath:application-import.yml")
public class ThreadPoolProperties {

    private int coreSize;

    private int maxSize;

    private long keepAlive;

    private int capacity;
}
